package com.gitee.wsl.text.marker.sample

import com.gitee.wsl.text.marker.Marker


 class Bold( textBegin: Int,  textEnd: Int) : Marker(textBegin,  textEnd) {
     override fun offset(offset: Int): Bold {
         if (offset == 0) return this
         return Bold(textBegin + offset, textEnd + offset)
     }
 }

//class Italic( textBegin: Int,  textEnd: Int) : Marker(textBegin,  textEnd)
//class Strikethrough( textBegin: Int,  textEnd: Int) : Marker(textBegin,  textEnd)
//class Underline( textBegin: Int,  textEnd: Int) : Marker(textBegin,  textEnd)